package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum RecommendationPromoteChannel {
    driver(0, "司机"),
    user(1, "乘客"),
    promoter(2, "推广者"),
    customerPromoter(3, "乘客推广者");

    @EnumValue
    private final int code;
    private final String desc;

    RecommendationPromoteChannel(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
